package com.flynn.rock.crm.model.customer.request;

import com.flynn.rock.crm.enums.CustomerQueryType;
import com.flynn.rock.enums.customer.CustomerStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "分页查询客户请求")
public class PageCustomerRequest {

    /**
     * 查询类型
     *  OWNER_LESS
     *  PERSONAL
     *
     */
    @Schema(description = "查询类型")
    private CustomerQueryType queryType = CustomerQueryType.MY_FOLLOW_UP;

    @Schema(description = "当前页")
    private Integer pageNum = 1;

    @Schema(description = "每页大小")
    private Integer pageSize = 10;

    private String customerCode;

    @Schema(description = "客户姓名")
    private String customerName;

    @Schema(description = "身份证号")
    private String identityNumber;

    private CustomerStatus status;

    private Integer customerRank;

    private String phone;

    private Integer noFollowUpMinDay;

    private Integer noFollowUpMaxDay;
}
